import { BASE_PRE } from "../utils/base.js";

const serial = {};

serial.ports = {
  url: BASE_PRE + "/equi/serial/config/ports",
  method: "get",
  loadingPreset: {
    background: "rgba(0,0,0,0.3)",
  },
};

serial.get = {
  url: BASE_PRE + "/equi/serial/config/get",
  method: "get",
  loadingPreset: {
    background: "rgba(0,0,0,0.3)",
  },
};
serial.save = {
  url: BASE_PRE + "/equi/serial/config/save",
  method: "post",
  loadingPreset: {
    background: "rgba(0,0,0,0.3)",
  },
};
  

export default serial;